package com.kaifamiao.date1110;

import java.util.logging.Logger;

public class Birds extends Animal {
	
	private final Logger logger = Logger.getLogger( this.getClass().getName() );
	
	public Birds() {
		super( "禽类" );
		logger.info( "Birds()" );
	}
	
	public void fly() {
		logger.info( this.type + "动物大都可以飞" );
	}
	
	public void eat( String food ) {
		logger.info( "eat(String)" );
		logger.info( this.type + "动物吃" + food );
	}

}
